package practice06;

public class Student extends Person{
    private int klass;
    public int getKlass(){
        return klass;
    }
    public void setKlass(int klass){
        this.klass=klass;
    }
    public Student(String name, int age) {

        super(name, age);
    }
    public String introduce(){
        return super.introduce()+" I am a Student. I am at Class "+klass+".";
    }

    public Student(String name, int age, int klass) {
        super(name, age);
        this.klass = klass;
    }
}
